Optimal. Leaf size=42 \[ -\frac {2 (b c-a d) (c+d x)^{7/2}}{7 d^2}+\frac {2 b (c+d x)^{9/2}}{9 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {45}
\begin {gather*} \frac {2 b (c+d x)^{9/2}}{9 d^2}-\frac {2 (c+d x)^{7/2} (b c-a d)}{7 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int (a+b x) (c+d x)^{5/2} \, dx &=\int \left (\frac {(-b c+a d) (c+d x)^{5/2}}{d}+\frac {b (c+d x)^{7/2}}{d}\right ) \, dx\\ &=-\frac {2 (b c-a d) (c+d x)^{7/2}}{7 d^2}+\frac {2 b (c+d x)^{9/2}}{9 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 30, normalized size = 0.71 \begin {gather*} \frac {2 (c+d x)^{7/2} (-2 b c+9 a d+7 b d x)}{63 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 2.91, size = 102, normalized size = 2.43 \begin {gather*} \text {Piecewise}\left [\left \{\left \{\frac {2 \left (-2 b c^4+c^3 d \left (9 a+b x\right )+d^2 x \left (27 a c^2+27 a c d x+9 a d^2 x^2+15 b c^2 x+19 b c d x^2+7 b d^2 x^3\right )\right ) \sqrt {c+d x}}{63 d^2},d\text {!=}0\right \}\right \},c^{\frac {5}{2}} \left (a x+\frac {b x^2}{2}\right )\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 34, normalized size = 0.81
method | result | size |
gosper | \(\frac {2 \left (d x +c \right )^{\frac {7}{2}} \left (7 b d x +9 a d -2 b c \right )}{63 d^{2}}\) | \(27\) |
derivativedivides | \(\frac {\frac {2 b \left (d x +c \right )^{\frac {9}{2}}}{9}+\frac {2 \left (a d -b c \right ) \left (d x +c \right )^{\frac {7}{2}}}{7}}{d^{2}}\) | \(34\) |
default | \(\frac {\frac {2 b \left (d x +c \right )^{\frac {9}{2}}}{9}+\frac {2 \left (a d -b c \right ) \left (d x +c \right )^{\frac {7}{2}}}{7}}{d^{2}}\) | \(34\) |
trager | \(\frac {2 \left (7 b \,d^{4} x^{4}+9 a \,d^{4} x^{3}+19 b c \,d^{3} x^{3}+27 a c \,d^{3} x^{2}+15 b \,c^{2} d^{2} x^{2}+27 a \,c^{2} d^{2} x +b \,c^{3} d x +9 a \,c^{3} d -2 b \,c^{4}\right ) \sqrt {d x +c}}{63 d^{2}}\) | \(94\) |
risch | \(\frac {2 \left (7 b \,d^{4} x^{4}+9 a \,d^{4} x^{3}+19 b c \,d^{3} x^{3}+27 a c \,d^{3} x^{2}+15 b \,c^{2} d^{2} x^{2}+27 a \,c^{2} d^{2} x +b \,c^{3} d x +9 a \,c^{3} d -2 b \,c^{4}\right ) \sqrt {d x +c}}{63 d^{2}}\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 33, normalized size = 0.79 \begin {gather*} \frac {2 \, {\left (7 \, {\left (d x + c\right )}^{\frac {9}{2}} b - 9 \, {\left (b c - a d\right )} {\left (d x + c\right )}^{\frac {7}{2}}\right )}}{63 \, d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 93 vs.
\(2 (34) = 68\).
time = 0.30, size = 93, normalized size = 2.21 \begin {gather*} \frac {2 \, {\left (7 \, b d^{4} x^{4} - 2 \, b c^{4} + 9 \, a c^{3} d + {\left (19 \, b c d^{3} + 9 \, a d^{4}\right )} x^{3} + 3 \, {\left (5 \, b c^{2} d^{2} + 9 \, a c d^{3}\right )} x^{2} + {\left (b c^{3} d + 27 \, a c^{2} d^{2}\right )} x\right )} \sqrt {d x + c}}{63 \, d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.30, size = 194, normalized size = 4.62 \begin {gather*} \begin {cases} \frac {2 a c^{3} \sqrt {c + d x}}{7 d} + \frac {6 a c^{2} x \sqrt {c + d x}}{7} + \frac {6 a c d x^{2} \sqrt {c + d x}}{7} + \frac {2 a d^{2} x^{3} \sqrt {c + d x}}{7} - \frac {4 b c^{4} \sqrt {c + d x}}{63 d^{2}} + \frac {2 b c^{3} x \sqrt {c + d x}}{63 d} + \frac {10 b c^{2} x^{2} \sqrt {c + d x}}{21} + \frac {38 b c d x^{3} \sqrt {c + d x}}{63} + \frac {2 b d^{2} x^{4} \sqrt {c + d x}}{9} & \text {for}\: d \neq 0 \\c^{\frac {5}{2}} \left (a x + \frac {b x^{2}}{2}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 306 vs.
\(2 (34) = 68\).
time = 0.00, size = 500, normalized size = 11.90 \begin {gather*} \frac {\frac {2 b d^{3} \left (\frac {1}{9} \sqrt {c+d x} \left (c+d x\right )^{4}-\frac {4}{7} \sqrt {c+d x} \left (c+d x\right )^{3} c+\frac {6}{5} \sqrt {c+d x} \left (c+d x\right )^{2} c^{2}-\frac {4}{3} \sqrt {c+d x} \left (c+d x\right ) c^{3}+\sqrt {c+d x} c^{4}\right )}{d^{4}}+\frac {2 a d^{3} \left (\frac {1}{7} \sqrt {c+d x} \left (c+d x\right )^{3}-\frac {3}{5} \sqrt {c+d x} \left (c+d x\right )^{2} c+\sqrt {c+d x} \left (c+d x\right ) c^{2}-\sqrt {c+d x} c^{3}\right )}{d^{3}}+\frac {6 b c d^{2} \left (\frac {1}{7} \sqrt {c+d x} \left (c+d x\right )^{3}-\frac {3}{5} \sqrt {c+d x} \left (c+d x\right )^{2} c+\sqrt {c+d x} \left (c+d x\right ) c^{2}-\sqrt {c+d x} c^{3}\right )}{d^{3}}+\frac {6 a c d^{2} \left (\frac {1}{5} \sqrt {c+d x} \left (c+d x\right )^{2}-\frac {2}{3} \sqrt {c+d x} \left (c+d x\right ) c+\sqrt {c+d x} c^{2}\right )}{d^{2}}+\frac {6 b c^{2} d \left (\frac {1}{5} \sqrt {c+d x} \left (c+d x\right )^{2}-\frac {2}{3} \sqrt {c+d x} \left (c+d x\right ) c+\sqrt {c+d x} c^{2}\right )}{d^{2}}+6 a c^{2} \left (\frac {1}{3} \sqrt {c+d x} \left (c+d x\right )-c \sqrt {c+d x}\right )+\frac {2 b c^{3} \left (\frac {1}{3} \sqrt {c+d x} \left (c+d x\right )-c \sqrt {c+d x}\right )}{d}+2 a c^{3} \sqrt {c+d x}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 29, normalized size = 0.69 \begin {gather*} \frac {2\,{\left (c+d\,x\right )}^{7/2}\,\left (9\,a\,d-9\,b\,c+7\,b\,\left (c+d\,x\right )\right )}{63\,d^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________